(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Installing Turtlebot3 on Raspbian buster

Description: Turtlebot3 build from source on raspbian buster with RPI 4B+

Keywords: raspberrypi, turtlebot, Buster

Tutorial Level: BEGINNER

Introduction

This tutorial explains how to install turtlebot3 from source. Ros melodic installation was assumed to be installed by Installing ROS Melodic on the Raspberry Pi. Although rpi could use ubuntu-server with ros apt packages here,it gives a poor performance on many tasks (fails on vnc and rviz, which could be done effectively on raspbian).

To save your time, I have made some simple bash script:

Note: These script use proxychains4 and v2ray as proxy. You could delete all proxychains4 if you don't need proxy to access ros resources.

Installation

Go to catkin workspace

cd /home/pi/catkin_ws

Install Turtlebot3 and its dependent packages. geometry:tf is required but have installed in ros-desktop.

rosinstall_generator rosserial-python hls-lfcd-lds-driver turtlebot3-msgs dynamixel-sdk turtlebot3 --deps --exclude RPP
wstool merge -t src melodic-desktop-wet.rosinstall 
wstool update -t src

CMake these packages only. If you perfer catkin_make, add -DCATKIN_WHITELIST_PACKAGES='pkg1,pkg2...pkgn' to build spcific packages

src/catkin/bin/catkin_make_isolated  --install-space=/opt/ros/melodic --install --pkg rosserial-python hls-lfcd-lds-driver turtlebot3-msgs dynamixel-sdk turtlebot3

Apply changes

source /opt/ros/melodic/setup.bash

* I am not a native English speaker, any language polish will be helpful.

Wiki: ROSberryPi/Installing Turtlebot3 on Raspbian buster (last edited 2022-03-08 14:45:29 by JChrysanthemum)